import styled from "styled-components";
import PaihangbangBoxBg from '../../../../../assets/images/bg_detail.bb32b2d1.jpg'
import playBg from '../../../../../assets/images/play.png'


export const MvBox = styled.div`
  height: 610px;
  background: url(${PaihangbangBoxBg}) center/200% repeat-x;
  .title{
    position: relative;
    height: 114px;
    font-size: 24px;
    line-height: 114px;
    text-align: center;
    h2{
      letter-spacing: 20px;
    }
    .jiaobiao{
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
    a{
      color: #000000;
      font-size: 14px;
      &:hover{
        color: #31c27c;
      }
    }
  }
  .main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 463px;
    .main_item{
      height: 206px;
      width: 224px;
      /* background-color: red; */
      font-size: 14px;
      color: #000000;
      a{
        position: relative;
        display: block;
        width: 224px;
        height: 127px;
        &:hover{
          img {
            filter: brightness(55%);
          }
          .main_item_pic_play{
            background: url(${playBg}) center/80px no-repeat;
            opacity: 1;
          }
        }
        img{
          /* 遮罩层 */
          transition: all .4s; 
        }
        .main_item_pic_play{
          /* transform-origin: center; */
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%,-50%);
          width: 80px;
          height: 80px;
          background: url(${playBg}) center/40px no-repeat;
          opacity: 0;
          transition: all .4s;
      }
      }
      .main_item_name{
        margin-top: 10px;
        &:hover{
          cursor: pointer;
          color: #31c27c;
        }
      }
      .main_item_author{
        color: #999999;
        margin-bottom: 5px;
        &:hover{
          cursor: pointer;
          color: #31c27c;
        }
      }
      .anticon-video-camera{
        font-size: 20px;
        color: #999999;
      }
      .main_item_footer{
        display: flex;
        height: 24px;
        align-items: center;
        color: #999999;
        .anticon-video-camera{
          color: #999999;
          font-size: 20px;
          margin-right: 6px;
        }
      }
    }
  }
`